package com.goodving.guli.utility;

import com.goodving.guli.activity.MainFragmentActivity;

/**
 * Created by Administrator on 2015-11-16.
 */
public class GuliTabHostListener implements android.widget.TabHost.OnTabChangeListener
{

    final MainFragmentActivity mMainFragmentActivity;

    public GuliTabHostListener(MainFragmentActivity mainfragmentactivity)
    {
        mMainFragmentActivity = mainfragmentactivity;
    }

    public void onTabChanged(String str) {
//        this.mMainFragmentActivity.getActionBar().hide();
        this.mMainFragmentActivity.curTab = str;
        if (!this.mMainFragmentActivity.curTab.equals("添加")) {
            this.mMainFragmentActivity.mFragment = this.mMainFragmentActivity.getSupportFragmentManager().findFragmentByTag(this.mMainFragmentActivity.curTab);
//            this.mMainFragmentActivity.m7820d(this.mMainFragmentActivity.f4031v);//umeng tongji
//            this.mMainFragmentActivity.m7821k();
        }
    }
}
